package org.luckyjourney.mapper.residentconsultant;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.lettuce.core.dynamic.annotation.Param;
import org.apache.ibatis.annotations.Mapper;
import org.luckyjourney.entity.ResidentConsultant;

@Mapper
public interface ResidentConsultantMapper extends BaseMapper<ResidentConsultant> {
    ResidentConsultant selectPhone(@Param("phone") String phone);

    Boolean updatePhone(ResidentConsultant residentConsultant);

    int delect(Long id);
}
